import os


def ReadChar(path):
    with open(path,'r',encoding='UTF-8') as f:
        chars = f.readlines()
        C = []
    for i,char in enumerate(chars):
        chars[i] = char.replace("\n",'')
    return chars


if __name__ == '__main__':
    chars = ReadChar('filtered_words.txt')
    HumanRights = True
    in_char = input("请输入字符：")
    for char in chars:
        if char in in_char:
            HumanRights = False
            in_char = in_char.replace(char,"**")

    if HumanRights:
        print("Human Rights")
    else:
        print("Freedom")
        print(in_char)
